package org.youyun56.gpsserver;

import net.sf.ehcache.CacheException;
import net.sf.ehcache.Status;

import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;

public class CacheManagerEventListener implements net.sf.ehcache.event.CacheManagerEventListener {
    
    private final static Log log = LogFactory.getLog(CacheManagerEventListener.class);

    public void dispose() throws CacheException {

    }

    public Status getStatus() {
        return null;
    }

    public void init() throws CacheException {
        log.info("cache init.....");
    }

    public void notifyCacheAdded(String key) {
        // TODO Auto-generated method stub
        log.info(new StringBuffer().append("add Cache: ").append(key));
    }

    public void notifyCacheRemoved(String key) {
        // TODO Auto-generated method stub
        log.info(new StringBuffer().append("add Cache: ").append(key));
    }

}
